/**
 * 日志工具类
 * @author 白晓明
 */
import hilog from '@ohos.hilog';

export class LogUtil {
  static readonly DOMAIN: number = 0x6688;
  static readonly TAG: string = "infoQLog";

  static info = (format: string, ...args: any[]) => {
    hilog.info(LogUtil.DOMAIN, LogUtil.TAG, format, args);
  }

  static error = (format: string, ...args: any[]) => {
    hilog.error(LogUtil.DOMAIN, LogUtil.TAG, format, args);
  }
}